#include "Comparable.h"

Comparable::Comparable()
{
	position_ = -1;
}

Comparable::Comparable(int pos)
{
	position_ = pos;
}

int Comparable::getPosition() const
{
	return position_;
}

bool Comparable::compare(Comparable b)
{
	if (position_ ^ b.getPosition())
		return false;
	else
		return true;
}
